package com.yuzhi.common.annotation;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yuzhi.common.jackson.DictTranCodeSerializer;
import java.lang.annotation.*;



@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@JsonSerialize(using = DictTranCodeSerializer.class)
public @interface DictFormat {
    /**
     * 默认值，获取不到字典则使用默认值
     *
     * @return ""
     */
    String defaultValue() default "";
}
